package com.yatop.lalmbda.ai.model;

import com.yuyaogc.lowcode.engine.annotation.*;
import com.yuyaogc.lowcode.engine.plugin.activerecord.Model;

import java.util.List;


@Table(name = "ai_template", displayName = "模版")
public class Template extends Model<Template> {

    @Id
    private Long id;

//    @Column(name = "url", label = "模版图")
    @File(name = "url", label = "模版图")
    private String url;

    private List<Template> templateList;
    @Column(label = "模版名称")
    private String name;


    @ManyToOne
    @JoinColumn(name = "product_id")
    private Product product;



}
